$OpenBSD: patch-doc_cpio_1,v 1.3 2015/03/31 15:36:52 naddy Exp $

CVE-2015-1197: cpio directory traversal

--- doc/cpio.1.orig	Sat Feb 14 19:15:50 2009
+++ doc/cpio.1	Sun Mar 29 21:11:10 2015
@@ -1,8 +1,8 @@
 .TH CPIO 1L \" -*- nroff -*-
 .SH NAME
-cpio \- copy files to and from archives
+gcpio \- copy files to and from archives
 .SH SYNOPSIS
-.B cpio
+.B gcpio
 {\-o|\-\-create} [\-0acvABLV] [\-C bytes] [\-H format] [\-M message]
 [\-O [[user@]host:]archive] [\-F [[user@]host:]archive]
 [\-\-file=[[user@]host:]archive] [\-\-format=format] [\-\-message=message]
@@ -11,7 +11,7 @@ cpio \- copy files to and from archives
 [\-\-force\-local] [\-\-rsh-command=command] [\-\-help] [\-\-version]
 < name-list [> archive]
 
-.B cpio
+.B gcpio
 {\-i|\-\-extract} [\-bcdfmnrtsuvBSV] [\-C bytes] [\-E file] [\-H format]
 [\-M message] [\-R [user][:.][group]] [\-I [[user@]host:]archive]
 [\-F [[user@]host:]archive] [\-\-file=[[user@]host:]archive]
@@ -22,9 +22,10 @@ cpio \- copy files to and from archives
 [\-\-owner=[user][:.][group]] [\-\-no-preserve-owner] [\-\-message=message]
 [\-\-force\-local] [\-\-no\-absolute\-filenames] [\-\-sparse]
 [\-\-only\-verify\-crc] [\-\-to\-stdout] [\-\-quiet] [\-\-rsh-command=command]
+[\-\-extract\-over\-symlinks]
 [\-\-help] [\-\-version] [pattern...] [< archive]
 
-.B cpio
+.B gcpio
 {\-p|\-\-pass-through} [\-0adlmuvLV] [\-R [user][:.][group]]
 [\-\-null] [\-\-reset-access-time] [\-\-make-directories] [\-\-link] [\-\-quiet]
 [\-\-preserve-modification-time] [\-\-unconditional] [\-\-verbose] [\-\-dot]
